<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="vtc" uri="/vtc-core-tags"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<html>
<head>
	<title>Archive Image</title>
</head>
<body>

	<s:actionerror/>
	<s:actionmessage/>
	
	<div class="content">
		<!-- InstanceBeginEditable name="content" -->
		<div class="pageTitle">Archived Image</div>
		<table id="errMge" class="errMge" width="100%" border="0"
			cellspacing="0" cellpadding="0" style="display: none">
			<tr class="type2">
				<td class="icon"><img class="sep" src="../images/spacer.gif" />
				</td>
				<td class="errTxt">Archived image has been created successfully
					!</td>
			</tr>
		</table>
		<div class="form2">
		<s:form name="archiveForm" id="archiveForm" method="post" action="archive!archiveImage.action">
		<s:hidden id="planningId" name="planning.id"></s:hidden>

			<table border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td class="sep"><img src="../images/spacer.gif"
						style="width: 180px;" />
					</td>
					<td class="sep sep2"><img src="../images/spacer.gif" />
					</td>
				</tr>
				<tr>
					<td><label class="fLabel">Planning Exercise</label>
						<div class="fField">
							<s:textfield id="planningExercise" name="archivedImage.planningExercise" cssStyle="width: 240px" disabled="disabled" value="%{planning.category.planYear}"></s:textfield>
						</div>
					</td>
					<td><label class="fLabel">Level of Planning</label>
						<div class="fField">
							<s:textfield id="planningLevel" name="planningLevel" cssStyle="width: 240px" readonly="true" value="%{planning.planningLevel}" ></s:textfield>
						</div>
					</td>
				</tr>
				
                              <tr>
                                <td colspan="2"><label class="fLabel" >Archived Image Name</label>
                                  <div class="fField">
                                    <s:textfield id="imageName" name="archivedImage.name" cssStyle="width:500px"></s:textfield>
                                  </div></td>
                              </tr>

				<tr>
					<td colspan="2"><label class="fLabel">Remarks</label>

						<div class="fField">
								<s:textarea id="remarks" name="archivedImage.remarks" cssStyle="width: 500px; height: 100px"></s:textarea>
						</div>
					</td>
				</tr>
			</table>
			</s:form>
			<div class="btnSet btnSetTypeA">
				<div class="left">
					<div class="button">

						<div class="left">
							<div class="right">
								<input class="inputButton" type="button" id="" name=""
									value="Archive"
									onclick="$('#archiveForm').submit();" />
							</div>
						</div>
					</div>
					<div class="button">
						<div class="left">
							<div class="right">

								<input class="inputButton" type="button" id="" name=""
									value="Cancel" onclick="window.location='archive.action'" />
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<!-- InstanceEndEditable -->
	</div>

</body>
</html>